/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.basic.safe.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 项目三同时管理
 *
 * @author pig
 * @date 2023-10-30 09:59:17
 */
@Data

public class BaseThreeMeantimeDTO {

    private static final long serialVersionUID = 1L;


	/**
	* 项目状态  1:填报中 2:审核中 3:审核通过 4:审核不通过 5:进行中 6:竣工验收 7:归档
	*/
    @Schema(description="项目状态  1:填报中 2:审核中 3:审核通过 4:审核不通过 5:进行中 6:竣工验收 7:归档")
    private String projectStatus;

	/**
	 * 业务Id
	 */
	@Schema(description="业务Id")
	private Long businessId;

	/**
	 * 节点编码
	 */
	@Schema(description="节点编码")
	private String nodeCode;

	/**
	 * 处理人
	 */
	@Schema(description="处理人")
	private Long handleUserId;

	/**
	 * 处理结果
	 */
	@Schema(description="处理结果")
	private String handleResult;

	/**
	 * 处理描述
	 */
	@Schema(description="处理描述")
	private String handleResultDesc;

	/**
	 * 处理图片
	 */
	@Schema(description="处理图片")
	private String handlePhoto;

	/**
	 * 处理视频
	 */
	@Schema(description="处理视频")
	private String handleVideo;

	/**
	 * 下一处理人部门
	 */
	@Schema(description="下一处理人部门")
	private Long nextDeptId;

	/**
	 * 下一处理人
	 */
	@Schema(description="下一处理人")
	private Long nextUserId;

	/**
	 * 执行候选人
	 */
	@Schema(description="执行候选人")
	private String executor;

	/**
	 * 处理数据
	 */
	@Schema(description="处理数据")
	private String handleData;

	/**
	 * 处理时间
	 */
	@Schema(description="处理时间")
	@NotBlank(message = "时间不能为空")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date handleTime;

	/**
	 * 签名图片
	 */
	@Schema(description="签名图片")
	private String signature;

	/**
	 * 附件
	 */
	@Schema(description="附件")
	private String attachment;

}
